package org.hegang.design.first.abstractfactorypattern;

import org.hegang.design.first.abstractfactorypattern.impl.XiaoMiMobile;
import org.hegang.design.first.abstractfactorypattern.impl.XiaoMiRouter;

/**
 * @Classname: SuperFactoryImpl
 * @Description:
 * @Date: 2021/4/20 23:46
 * @Author: gang.he
 * @Email: SmileSkyLife@outlook.com
 * @LastModified:
 * @Version: v1.0.0
 */
public class XiaoMiCompany implements Product {
    @Override
    public Mobile getMobile() {
        return new XiaoMiMobile();
    }

    @Override
    public Router getRouter() {
        return new XiaoMiRouter();
    }
}
